package mju.cxf.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import mju.cxf.dto.ActivityDTO;
import mju.cxf.entity.Activity;
import mju.cxf.vo.ActivityVO;

/**
 * <p>
 * 广告表 服务类
 * </p>
 *
 * @author 郑献
 * @since 2024-10-22
 */

public interface ActivityService extends IService<Activity> {
    Page<ActivityVO> selectPage(String title, String type, Integer status, int current, int size);

    boolean updateActivity(ActivityDTO activityDTO);

    boolean saveActivity(ActivityDTO activityDTO);

    boolean deleteActivity(Integer id);
}